package com.store.practice.mapper;

import com.store.practice.model.AccountPermissionRelation;
import com.store.practice.model.AccountPermissionRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AccountPermissionRelationMapper {
    long countByExample(AccountPermissionRelationExample example);

    int deleteByExample(AccountPermissionRelationExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AccountPermissionRelation record);

    int insertSelective(AccountPermissionRelation record);

    List<AccountPermissionRelation> selectByExample(AccountPermissionRelationExample example);

    AccountPermissionRelation selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AccountPermissionRelation record, @Param("example") AccountPermissionRelationExample example);

    int updateByExample(@Param("record") AccountPermissionRelation record, @Param("example") AccountPermissionRelationExample example);

    int updateByPrimaryKeySelective(AccountPermissionRelation record);

    int updateByPrimaryKey(AccountPermissionRelation record);
}